<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="../assets/css/layui.css">
    <link rel="stylesheet" href="../assets/css/view.css"/>
    <title></title>
</head>
<body class="layui-view-body">
    <div class="layui-content">
			<div class="layui-row">
					<div class="layui-card">
					<textarea id="demo" style="display: none;"></textarea>
					</div>
			</div>
	  </div>
    <script src="../assets/layui.all.js"></script>
    <script>
      layui.use('layedit', function(){
				var layedit = layui.layedit;
				layedit.set({
					uploadImage: {
						url: 'http://localhost:8088/WebForMybatis/ajaxUpload' ,//接口url
						type: 'post' //默认post
					}
				});
      	var lay1 = layedit.build('demo'); //建立编辑器
				//layedit.async(lay1);
      });
    </script>
</body>
</html>
